// stores/counter.js
import { defineStore } from 'pinia'

export interface UserStore {
  token: string
}

export const useUserStore = defineStore('counter', {
  state: () => {
    return {
      token: ''
    }
  },
  actions: {
    setToken(token: string) {
      this.token = token
    },
  },
})